package com.xing.binbackend.pattern.observer31;

public class RiskControlService implements OrderObserver {
    @Override
    public void onOrderStatusChange(Order order) {
        if ("CREATED".equals(order.getStatus())) {
            System.out.println("[风控] 检查可疑订单: " + order.getUserId());
            // 风控检查逻辑...
        }
    }
}